package org.spring.springboot.service.impl;

import org.spring.springboot.dao.UserDao;
import org.spring.springboot.domain.User;
import org.spring.springboot.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;



@Service
public class UserServiceImpl implements IUserService {

    @Autowired
    private UserDao dao;

    public User selectOne(String phoneNum) {
        return dao.selectOne(phoneNum);
    }
    public void save(User user) {
        dao.save(user);
    }
    public void delete(String uid) {
        dao.delete(uid);
    }
}
